import {myRequest} from '@/common/config/http.js'
//发布列表
export function orderList (data) {  
	return myRequest({
		url:'api/Order/getList',
		method:'POST',
		data:data
	})
}
// 取消订单
export function cancelOrder (data) {  
	return myRequest({
		url:'api/Order/cancel',
		method:'POST',
		data:data
	})
}
// 取消订单
export function sureOrder (data) {  
	return myRequest({
		url:'api/Order/receiving',
		method:'POST',
		data:data
	})
}
// 获取订单详情
export function orderDetail (data) {  
	return myRequest({
		url:'api/Order/detail',
		method:'POST',
		data:data
	})
}
// 删除订单
export function delOrder (data) {  
	return myRequest({
		url:'api/Order/del',
		method:'POST',
		data:data
	})
}